<?php
  function rajyasabha_validation($form, &$form_state) {
    chkbadchar($form['title']['#value'],$form['title']['#title'],'title');
    chkbadchar($form['field_mp_designation']['und'][0]['value']['#value'],$form['field_mp_designation']['und'][0]['value']['#title'],'field_mp_designation');
    chkbadchar($form['field_mp_addlocal']['und'][0]['value']['#value'],$form['field_mp_addlocal']['und'][0]['value']['#title'],'field_mp_addlocal');
    chkbadchar($form['field_mp_adddelhi']['und'][0]['value']['#value'],$form['field_mp_adddelhi']['und'][0]['value']['#title'],'field_mp_adddelhi');
    chkbadchar($form['field_mp_fax']['und'][0]['value']['#value'],$form['field_mp_fax']['und'][0]['value']['#title'],'field_mp_fax');
    chkbadchar($form['field_mp_email']['und'][0]['value']['#value'],$form['field_mp_email']['und'][0]['value']['#title'],'field_mp_email');
    chkbadchar($form['field_mp_url']['und'][0]['value']['#value'],$form['field_mp_url']['und'][0]['value']['#title'],'field_mp_url');

  }